<?php
/* @var $this BuildingServiceEquipmentController */
/* @var $model BuildingServiceEquipment */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'building-service-equipment-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'boiler_provider'); ?>
		<?php echo $form->textField($model,'boiler_provider'); ?>
		<?php echo $form->error($model,'boiler_provider'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'no_of_unit_provided'); ?>
		<?php echo $form->textField($model,'no_of_unit_provided'); ?>
		<?php echo $form->error($model,'no_of_unit_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bp_fuel'); ?>
		<?php echo $form->dropDownlist($model, 'bp_fuel',$model->getBp_fuel() ,
		array('prompt' => 'Select a Bp Fuel',)); ?>
		<?php echo $form->error($model,'bp_fuel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bp_capacity'); ?>
		<?php echo $form->textField($model,'bp_capacity'); ?>
		<?php echo $form->error($model,'bp_capacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bp_container'); ?>
		<?php echo $form->dropDownlist($model, 'bp_container',$model->getBp_container() ,
		array('prompt' => 'Select a Bp Container',)); ?>
		<?php echo $form->error($model,'bp_container'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bp_location'); ?>
		<?php echo $form->textArea($model,'bp_location',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'bp_location'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'lpg_installation_covered_with_permit'); ?>
		<?php echo $form->textField($model,'lpg_installation_covered_with_permit'); ?>
		<?php echo $form->error($model,'lpg_installation_covered_with_permit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fuel_with_storage_permit'); ?>
		<?php echo $form->textField($model,'fuel_with_storage_permit'); ?>
		<?php echo $form->error($model,'fuel_with_storage_permit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'generator_set_provided'); ?>
		<?php echo $form->textField($model,'generator_set_provided'); ?>
		<?php echo $form->error($model,'generator_set_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_type'); ?>
		<?php echo $form->dropDownlist($model, 'gsp_type',$model->getGsp_type() ,
		array('prompt' => 'Select a Gsp Type',)); ?>
		<?php echo $form->error($model,'gsp_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_fuel'); ?>
		<?php echo $form->dropDownlist($model, 'gsp_fuel',$model->getGsp_fuel() ,
		array('prompt' => 'Select a Gsp Fuel',)); ?>
		<?php echo $form->error($model,'gsp_fuel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_capacity'); ?>
		<?php echo $form->textField($model,'gsp_capacity'); ?>
		<?php echo $form->error($model,'gsp_capacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_location'); ?>
		<?php echo $form->textArea($model,'gsp_location',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'gsp_location'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dike_or_bundwall_provided'); ?>
		<?php echo $form->textField($model,'dike_or_bundwall_provided'); ?>
		<?php echo $form->error($model,'dike_or_bundwall_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_container'); ?>
		<?php echo $form->dropDownlist($model, 'gsp_container',$model->getGsp_container() ,
		array('prompt' => 'Select a Gsp Container',)); ?>
		<?php echo $form->error($model,'gsp_container'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_dispensing_system'); ?>
		<?php echo $form->dropDownlist($model, 'gsp_dispensing_system',$model->Gsp_dispensing_system() ,
		array('prompt' => 'Select a Gsp Dispensing System',)); ?>
		<?php echo $form->error($model,'gsp_dispensing_system'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'output_capacity'); ?>
		<?php echo $form->textField($model,'output_capacity'); ?>
		<?php echo $form->error($model,'output_capacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_mechanical_permit'); ?>
		<?php echo $form->textArea($model,'gsp_mechanical_permit',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'gsp_mechanical_permit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gspmp_date_issued'); ?>
		<?php echo $form->textField($model,'gspmp_date_issued'); ?>
		<?php echo $form->error($model,'gspmp_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_fuel_with_storage_permit'); ?>
		<?php echo $form->textField($model,'gsp_fuel_with_storage_permit'); ?>
		<?php echo $form->error($model,'gsp_fuel_with_storage_permit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_automatic_transfer_switch_provided'); ?>
		<?php echo $form->textField($model,'gsp_automatic_transfer_switch_provided'); ?>
		<?php echo $form->error($model,'gsp_automatic_transfer_switch_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gsp_time_interval'); ?>
		<?php echo $form->textField($model,'gsp_time_interval'); ?>
		<?php echo $form->error($model,'gsp_time_interval'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'other'); ?>
		<?php echo $form->textArea($model,'other',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'other'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'refuse_handling_facility_provided'); ?>
		<?php echo $form->textField($model,'refuse_handling_facility_provided'); ?>
		<?php echo $form->error($model,'refuse_handling_facility_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'enclosure_provided'); ?>
		<?php echo $form->textField($model,'enclosure_provided'); ?>
		<?php echo $form->error($model,'enclosure_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fire_resistive'); ?>
		<?php echo $form->textField($model,'fire_resistive'); ?>
		<?php echo $form->error($model,'fire_resistive'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fire_protection_provided'); ?>
		<?php echo $form->textField($model,'fire_protection_provided'); ?>
		<?php echo $form->error($model,'fire_protection_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'rhf_type'); ?>
		<?php echo $form->textArea($model,'rhf_type',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'rhf_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'frequency_of_collection'); ?>
		<?php echo $form->textArea($model,'frequency_of_collection',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'frequency_of_collection'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'how_collected'); ?>
		<?php echo $form->textArea($model,'how_collected',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'how_collected'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'any_electrical_hazard'); ?>
		<?php echo $form->textField($model,'any_electrical_hazard'); ?>
		<?php echo $form->error($model,'any_electrical_hazard'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'aeh_location'); ?>
		<?php echo $form->textArea($model,'aeh_location',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'aeh_location'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'any_mechanical_hazard'); ?>
		<?php echo $form->textField($model,'any_mechanical_hazard'); ?>
		<?php echo $form->error($model,'any_mechanical_hazard'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'amh_location'); ?>
		<?php echo $form->textArea($model,'amh_location',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'amh_location'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'no_of_elevator_provided'); ?>
		<?php echo $form->textField($model,'no_of_elevator_provided'); ?>
		<?php echo $form->error($model,'no_of_elevator_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fireman_elevator_provided'); ?>
		<?php echo $form->textField($model,'fireman_elevator_provided'); ?>
		<?php echo $form->error($model,'fireman_elevator_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fireman_key_or_switch_provided'); ?>
		<?php echo $form->textField($model,'fireman_key_or_switch_provided'); ?>
		<?php echo $form->error($model,'fireman_key_or_switch_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'other_bulding_service_system'); ?>
		<?php echo $form->checkBoxList($model, 'other_bulding_service_system', array('Water Treatment'=>'Water Treatment','Waste Water Sewage Treatment'=>'Waste Water Sewage Treatment')); ?> 
		<?php echo $form->error($model,'other_bulding_service_system'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
		<?php echo $form->error($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->